<#include "../../core/head.html" />
<script type="text/javascript" src="${request.contextPath}/public/resource/js/icons.js"></script>
<script type="text/javascript" src="${request.contextPath}/public/js/sys/Resources.js"></script>
<body class="easyui-layout">
<table id="resources_treegrid"></table>
<div id="resources_toolbar" style="padding:5px;height:auto;">
    <div style="margin-left:2px;">
      <@shiro.hasPermission name="sys:resources:create"><a class="easyui-linkbutton"  id="add_resources" data-options="iconCls:'icon-add',plain:true">添加</a><span class="toolbar-item dialog-tool-separator"></span></@shiro.hasPermission>
	  <@shiro.hasPermission name="sys:resources:delete"><a class="easyui-linkbutton" id="del_resources" data-options="iconCls:'icon-remove',plain:true">删除</a><span class="toolbar-item dialog-tool-separator"></span></@shiro.hasPermission>
	  <@shiro.hasPermission name="sys:resources:update"><a class="easyui-linkbutton" id="edit_resources" data-options="iconCls:'icon-edit',plain:true">修改</a><span class="toolbar-item dialog-tool-separator"></span></@shiro.hasPermission>
	  <@shiro.hasPermission name="sys:resources:saveBasePermission"><a class="easyui-linkbutton" id="addPermission" data-options="iconCls:'icon-add',plain:true">添加基本权限(增删改查)</a></@shiro.hasPermission>
	</div>
</div>
<div id="resources_dialog"  style="width:720px;height:480px;">
<#include "res.html" />
</div>
</body>